package com.lookup.api.guice;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;
import com.lookup.api.handler.api.ApiHandler;
import com.lookup.api.handler.eventbus.EchoEventbusHandler;
import com.lookup.api.handler.http.AliveHandler;

public class HandlerModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(AliveHandler.class).in(Scopes.SINGLETON);
        bind(EchoEventbusHandler.class).in(Scopes.SINGLETON);
		bind(ApiHandler.class).in(Scopes.SINGLETON);
    }
}
